﻿using DotNetExtensions.Core.IOC;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DotNetExtensions.Core.WebApi.Jwt
{
    public class JwtOption : Singleton<JwtOption>
    {
        private JwtOption()
        {

        }
        public string Issuer { get; set; } = "jiaohxiong";
        public string SecurityKey { get; set; } = Guid.NewGuid().ToString().Replace("-", "");
        public byte[] SecurityKeyBuffer => Encoding.UTF8.GetBytes(SecurityKey);
        public int Expired { get; set; } = 1;
    }
}
